package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 燃烧炉试验业务对象 n_laboratory_furnace
 *
 * @author zyb
 * @date 2023-09-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NLaboratoryFurnaceBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 基地编号
     */
    @NotBlank(message = "基地编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String baseCode;

    /**
     * 设备编号
     */
    @NotBlank(message = "设备编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deviceCode;

    /**
     * 施工部位
     */
    @NotBlank(message = "施工部位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String constructionSite;

    /**
     * 工程名称
     */
    @NotBlank(message = "工程名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String projectName;

    /**
     * 试样编号
     */
    @NotBlank(message = "试样编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sampleNo;

    /**
     * 试样名称
     */
    @NotBlank(message = "试样名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sampleName;

    /**
     * 试验开始时间
     */
    @NotNull(message = "试验开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date startTime;

    /**
     * 试验结束时间
     */
    @NotNull(message = "试验结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date endTime;

    /**
     * 原始重量数值1
     */
    @NotNull(message = "原始重量数值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal originalWeight1;

    /**
     * 损失重量数值1
     */
    @NotNull(message = "损失重量数值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal lostWeight1;

    /**
     * 补偿重量数值1
     */
    @NotNull(message = "补偿重量数值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal compensationWeight1;

    /**
     * 补偿系数数值1
     */
    @NotNull(message = "补偿系数数值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal compensationCoefficient1;

    /**
     * 沥青含量数值1
     */
    @NotNull(message = "沥青含量数值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal asphaltContent1;

    /**
     * 油石比数值1
     */
    @NotNull(message = "油石比数值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal asphaltAggregateRatio1;

    /**
     * 主温数值1
     */
    @NotNull(message = "主温数值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal mainTemperature1;

    /**
     * 试验时长数值1
     */
    @NotNull(message = "试验时长数值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal testDuration1;

    /**
     * 原始重量数值2
     */
    @NotNull(message = "原始重量数值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal originalWeight2;

    /**
     * 损失重量数值2
     */
    @NotNull(message = "损失重量数值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal lostWeight2;

    /**
     * 补偿重量数值2
     */
    @NotNull(message = "补偿重量数值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal compensationWeight2;

    /**
     * 补偿系数数值2
     */
    @NotNull(message = "补偿系数数值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal compensationCoefficient2;

    /**
     * 沥青含量数值2
     */
    @NotNull(message = "沥青含量数值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal asphaltContent2;

    /**
     * 油石比数值2
     */
    @NotNull(message = "油石比数值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal asphaltAggregateRatio2;

    /**
     * 主温数值2
     */
    @NotNull(message = "主温数值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal mainTemperature2;

    /**
     * 试验时长数值2
     */
    @NotNull(message = "试验时长数值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal testDuration2;

    /**
     * 是否合格：0=合格；1=不合格；
     */
    @NotBlank(message = "是否合格：0=合格；1=不合格；不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isQualified;

    /**
     * 数据入库时间
     */
    @NotNull(message = "数据入库时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date insertTime;


}
